package com.situ.crm;

public class Hello {

    public static void main(String[] args) {
        Thread thread = new Thread() {
            @Override
            public void run() {
                super.run();
            }
        };
        thread.start();
    }

    public synchronized static  void fun() {
        System.out.println("Hello.fun");
        synchronized (Hello.class) {
            for (int i = 0; i < 100; i++) {
                System.out.println(i);
            }
        }
    }
}
